package com.dinree.activity;

import android.os.Bundle;
import android.view.View;

import com.base.library.TopBarBaseActivity;
import com.dinree.R;
import com.dinree.databinding.ActivityAgreementBinding;

public class AgreementActivity extends TopBarBaseActivity {
    private ActivityAgreementBinding activityAgreementBinding;

    @Override
    public int getContentView() {
        return R.layout.activity_agreement;
    }

    @Override
    public void initContentView(Bundle savedInstanceState) {
        activityAgreementBinding = getContentViewBinding();
        setTitle("使用协议");
        setTopLeftButton(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        activityAgreementBinding.webView.loadUrl("file:///android_asset/xieyi.html");
    }
}

